package com.sxjh.entity.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SalesReport implements Serializable {

  /**
   * 公司名称
   */
  @ApiModelProperty(value = "公司名称", position = 1)
  private String companyName;

  /**
   * 物料名称
   */
  @ApiModelProperty(value = "物料名称", position = 2)
  private String materialName;

  /**
   * 数量
   */
  @ApiModelProperty(value = "数量", position = 3)
  private BigDecimal weighbridgeWeight;

  /**
   * 车数
   */
  @ApiModelProperty(value = "车数", position = 4)
  private Integer vehCount;

  /**
   * 含税单价
   */
  @ApiModelProperty(value = "含税单价", position = 5)
  private BigDecimal settlementPrice;

  /**
   * 含税物料总价
   */
  @ApiModelProperty(value = "含税产品总价", position = 6)
  private BigDecimal settlementPriceSum;

  /**
   * 含税运费
   */
  @ApiModelProperty(value = "含税运费", position = 7)
  private BigDecimal freightSum;

  /**
   * 含税装车费
   */
  @ApiModelProperty(value = "含税装车费", position = 8)
  private BigDecimal installSum;

  /**
   * 含税专线费
   */
  @ApiModelProperty(value = "含税专线费", position = 9)
  private BigDecimal specialSum;

  /**
   * 含税包装费
   */
  @ApiModelProperty("含税包装费")
  private BigDecimal packageSum;

  /**
   * 含税其他费
   */
  @ApiModelProperty(value = "含税其他费", position = 10)
  private BigDecimal otherSum;

  /**
   * 含税总价
   */
  @ApiModelProperty(value = "含税总价", position = 11)
  private BigDecimal moneySum;

  /**
   * 物料税率（%）
   */
  @ApiModelProperty(value = "产品税率", position = 12)
  private BigDecimal taxRate;

  @ApiModelProperty(value = "运输费用税率", position = 13)
  private BigDecimal freightTaxRate;

  @ApiModelProperty(value = "装车费税率", position = 14)
  private BigDecimal installTaxRate;

  /**
   * 含税包装费
   */
  @ApiModelProperty("包装费税率")
  private BigDecimal packageTaxRate;

  @ApiModelProperty(value = "专线费税率", position = 15)
  private BigDecimal specialTaxRate;

  @ApiModelProperty(value = "其他费税率", position = 16)
  private BigDecimal otherTaxRate;

  /**
   * 不含税单价
   */
  @ApiModelProperty(value = "不含税单价", position = 17)
  private BigDecimal settlementPriceNo;

  /**
   * 不含税物料总价
   */
  @ApiModelProperty(value = "不含税产品总价", position = 18)
  private BigDecimal settlementPriceSumNo;

  /**
   * 不含税运费
   */
  @ApiModelProperty(value = "不含税运费", position = 19)
  private BigDecimal freightSumNo;

  /**
   * 不含税装车费
   */
  @ApiModelProperty(value = "不含税装车费", position = 20)
  private BigDecimal installSumNo;


  /**
   * 不含税包装费
   */
  @ApiModelProperty("不含税包装费")
  private BigDecimal packageSumNo;

  /**
   * 不含税专线费
   */
  @ApiModelProperty(value = "不含税专线费", position = 21)
  private BigDecimal specialSumNo;

  /**
   * 不含税其他费
   */
  @ApiModelProperty(value = "不含税其他费", position = 22)
  private BigDecimal otherSumNo;

  /**
   * 不含税总价
   */
  @ApiModelProperty(value = "不含税总价", position = 23)
  private BigDecimal moneySumNo;


  public BigDecimal getWeighbridgeWeight() {
    if ("".equals(weighbridgeWeight) || weighbridgeWeight == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return weighbridgeWeight;
  }

  public BigDecimal getSettlementPrice() {
    if ("".equals(settlementPrice) || settlementPrice == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return settlementPrice;
  }

  public BigDecimal getSettlementPriceSum() {
    if ("".equals(settlementPriceSum) || settlementPriceSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return settlementPriceSum;
  }

  public BigDecimal getFreightSum() {
    if ("".equals(freightSum) || freightSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return freightSum;
  }

  public BigDecimal getInstallSum() {
    if ("".equals(installSum) || installSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return installSum;
  }

  public BigDecimal getSpecialSum() {
    if ("".equals(specialSum) || specialSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return specialSum;
  }

  public BigDecimal getPackageSum() {
    if ("".equals(packageSum) || packageSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return packageSum;
  }

  public BigDecimal getOtherSum() {
    if ("".equals(otherSum) || otherSum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return otherSum;
  }

  public BigDecimal getMoneySum() {
    if ("".equals(moneySum) || moneySum == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return moneySum;
  }

  public BigDecimal getTaxRate() {
    if ("".equals(taxRate) || taxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return taxRate;
  }

  public BigDecimal getFreightTaxRate() {
    if ("".equals(freightTaxRate) || freightTaxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return freightTaxRate;
  }

  public BigDecimal getInstallTaxRate() {
    if ("".equals(installTaxRate) || installTaxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return installTaxRate;
  }

  public BigDecimal getPackageTaxRate() {
    if ("".equals(packageTaxRate) || packageTaxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return packageTaxRate;
  }

  public BigDecimal getSpecialTaxRate() {
    if ("".equals(specialTaxRate) || specialTaxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return specialTaxRate;
  }

  public BigDecimal getOtherTaxRate() {
    if ("".equals(otherTaxRate) || otherTaxRate == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return otherTaxRate;
  }

  public BigDecimal getSettlementPriceNo() {
    if ("".equals(settlementPriceNo) || settlementPriceNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return settlementPriceNo;
  }

  public BigDecimal getSettlementPriceSumNo() {
    if ("".equals(settlementPriceSumNo) || settlementPriceSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return settlementPriceSumNo;
  }

  public BigDecimal getFreightSumNo() {
    if ("".equals(freightSumNo) || freightSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return freightSumNo;
  }

  public BigDecimal getInstallSumNo() {
    if ("".equals(installSumNo) || installSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return installSumNo;
  }

  public BigDecimal getPackageSumNo() {
    if ("".equals(packageSumNo) || packageSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return packageSumNo;
  }

  public BigDecimal getSpecialSumNo() {
    if ("".equals(specialSumNo) || specialSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return specialSumNo;
  }

  public BigDecimal getOtherSumNo() {
    if ("".equals(otherSumNo) || otherSumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return otherSumNo;
  }

  public BigDecimal getMoneySumNo() {
    if ("".equals(moneySumNo) || moneySumNo == null) {
      return new BigDecimal(0.00);//去除该属性的前后空格并进行非空非null判断
    }
    return moneySumNo;
  }
}
